﻿using PluginInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientApp.Shared
{
    public class SavePointInfoModel
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public int Address { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        //public DataTypeEnum DataType { get; set; }
        public short DataType { get; set; }

        /// <summary>
        /// 大小端
        /// </summary>
        //public EndianEnum EndianType { get; set; }
        public short? EndianType { get; set; }
        /// <summary>
        /// 表达式
        /// </summary>
        public string? Expressions { get; set; }
        /// <summary>
        /// Read\ReadWrite
        /// </summary>
        public string ReadWrite { get; set; }
        public string? Desc { get; set; }
        public string DeviceId { get; set; }
    }
    public class ControlPointModel
    {
        public string DeviceId { get; set; }
        public int PointId { get; set; }
        public string Value { get; set; }
    }
}